package com.maizhi.service;

import java.util.List;

import com.maizhi.httpmodel.EasyuiTreeNode;
import com.maizhi.httpmodel.LigerTreeNode;
import com.maizhi.httpmodel.ResourcesModel;
import com.maizhi.model.Resource;

 
public interface ResourceServiceI{
	public List<EasyuiTreeNode> tree(String id);

	public List<ResourcesModel> treegrid(String id);

	public ResourcesModel add(ResourcesModel resources);

	public void del(ResourcesModel resources);

	public ResourcesModel edit(ResourcesModel resources);
	
	public List<LigerTreeNode> ligerTree();
	
	public LigerTreeNode ligerTree(Resource res, boolean recursive);
}
